The online racing simulator
Searching in All forums
(293 results)
Button scopes
Flame CZE
S3 licensed
Moderator
While developing an InSim app for myself, I needed to show personalised buttons to each connection and human player on track. To abstract away having to assign the button UCIDs manually, I've introduced scopes in the React Node InSim library.

Here's a demo video with two LFS users:
- the "React NodeInSim" button is the same for all connections (UCID 255)
- the username buttons are different for each connection
- the player name buttons are different for each human player on track



Example code:

export function ScopesExample() {
return (
<GlobalScopeProvider>
<Button top={0} left={80} height={5} width={40}>
React Node InSim
</Button>
</GlobalScopeProvider>
<ConnectionScopeProvider>
<UserNameButton />
<HumanPlayerScopeProvider>
<HumanPlayerNameButton />
</HumanPlayerScopeProvider>
</ConnectionScopeProvider>
);
}

Demo app source code
Flame CZE
S3 licensed
Moderator
You can use data/script/[car name].lfs files to add /ff commands there (e.g. XRT.lfs). For mods the file must be named after the SkinID - C2EBCF.lfs for example.
Flame CZE
S3 licensed
Moderator
He's like me
Flame CZE
S3 licensed
Moderator
Thanks for the explanation, that makes sense now.

I was going to add the number of triangles and points for each LFS car in the car infobox in LFS Manual (see the XF GTI manual page), but it's not as straightforward as it looked Big grin
Flame CZE
S3 licensed
Moderator
In the modeller, when I select LOD3, the total number of output tris and points is different from the actual number of tris or points. You can see it in the screenshots where I select all tris and points. I think it should say 26 tris / 20 pts, but it says 36 tris / 46 pts. I don't know how those numbers are calculated.
Flame CZE
S3 licensed
Moderator
There seems to be a bug when someone withdraws from an event, the forum post says there's total of 1 entry even though there are 42 entries.

https://www.lfs.net/forum/post/2116397#post2116397
Flame CZE
S3 licensed
Moderator
- modelled inner window frames
- added more placeholder dashboard clocks


Flame CZE
S3 licensed
Moderator
You get an additional unlock available every Friday, provided you do not already have 2 unlocks available.

If you need an unlock urgently, write an e-mail to the developers
https://www.lfs.net/mailus

Why did you have to unlock LFS so many times since Friday?
Flame CZE
S3 licensed
Moderator
Can you share a link to the NFS MW mod?
Flame CZE
S3 licensed
Moderator
Also, instead of modelling each letter in 3D, you can make it a transparent texture over the coloured tree model.
Flame CZE
S3 licensed
Moderator
You seem to be creating triangles manually for the edge of the tree - instead you could use the extrude function and it would create the triangles automatically.

https://en.lfsmanual.net/wiki/LFS_Editor/Guides/Extrude_and_Lathe_Functions
Flame CZE
S3 licensed
Moderator
I did a quick test and it shows correctly when there is a latin character at the beginning of the host name:



If it's just Korean characters, it is wrong:

Flame CZE
S3 licensed
Moderator
Make sure you are on track with a car and have an in car or custom view selected. Then you should also see "Décalage Z" in there.
Flame CZE
S3 licensed
Moderator
You can adjust the view height in Options - View - Z offset.
Flame CZE
S3 licensed
Moderator
Quote from lucienz :I dropped lfs.
I don't see anything there.
Too low.
And I couldn't find the settings

What were you trying to find?
Flame CZE
S3 licensed
Moderator
LFSW name: Flame CZE
In-game name: S M.Kapal
Full team name: SAVAGE SimSports
Country: Czechia
Flame CZE
S3 licensed
Moderator
Just tap it again and it will be removed
Flame CZE
S3 licensed
Moderator
Make sure you are changing and entering the GAMEpassword.
Flame CZE
S3 licensed
Moderator
The binding can be done in the Options - Controls screen, in the CTRL + or ALT + tab, where you can bind commands to wheel buttons.
4.6.0
Flame CZE
S3 licensed
Moderator
Version 4.6.0 with test patch F5 updates regarding AI control packets.
Flame CZE
S3 licensed
Moderator
In the Formula BMW, make sure you lift the throttle when you shift up.

Press F9 to check the clutch temperature - the "CT" bar becomes red when it gets overheated.
Last edited by Flame CZE, .
Flame CZE
S3 licensed
Moderator
No, if he wants to play on S1 tracks or with S1 cars, he needs to buy an S1 license.
Flame CZE
S3 licensed
Moderator
There's a mistake in the packet name in the error message when the PLID is not found: "IS_PLH - driver not found"
4.4.0
Flame CZE
S3 licensed
Moderator
Version 4.4.0 released with support for the new AI control packets that are available in test patch F2.
Flame CZE
S3 licensed
Moderator
Several people experienced a crash of their LFS when being on a multiplayer server where I was testing the AI packets.

Exception code: 0xc0000005
Error offset: 0x000069b0

Unfortunately I wasn't paying attention when it happened so I'm not able to reproduce it.
Last edited by Flame CZE, .
FGED GREDG RDFGDR GSFDG